home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1835 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: sourcery.han.de!not-for-mail
  2. Newsgroups: comp.sys.amiga.programmer
  3. References: <4e17ft$mk3@toad.stack.urc.tue.nl>
  4. From: "Olaf Barthel" <olsen@sourcery.han.de>
  5. Date: Tue, 23 Jan 1996 20:52:06 +0100
  6. X-NewsReader: IntuiNews 1.3a (7.9.95)
  7. Subject: Re: SetAfPt() in 3.0?
  8. Message-ID: <13213514@sourcery.han.de>
  9.  
  10. In Article <4e17ft$mk3@toad.stack.urc.tue.nl>, Jaco Schoonen <jaco@stack.urc.tue.nl> wrote:
  11. > Hmmm, this is strange:
  12. >
  13. > In my 2.04 reference manual a function 'SetAfPt()' of the graphics.library
  14. > is explained to set the areafillpattern.
  15. > In my V40 autodocs those routine is not mentioned :-(
  16.  
  17.    No surprise, SetAfPt() is not a system call but a macro which is
  18. implemented by stuffing pattern pointer and pattern size into the
  19. RastPort.
  20.  
  21. > The modules that came with AmigaE are the latest and the E-compiler
  22. > complains that it's an unknown function if I try to use it.
  23. >
  24. > So, am I stupid, or was this function removed after 2.04? If so, is there
  25. > another way of setting the AreaFillPattern?
  26.  
  27.    You could use BltPattern() instead and directly pass in the pattern
  28. data. graphics.library will end up doing just the same when called
  29. through RectFill().
  30.  
  31. --
  32. Home: Olaf Barthel, Brabeckstrasse 35, D-30559 Hannover
  33.  Net: olsen@sourcery.han.de
  34.